<?php

namespace api\modules\v1\controllers;

use api\controllers\OnAuthController;
use common\enums\StatusEnum;
use common\helpers\UploadHelper;
use common\models\ding\Talk;
use Yii;

include(__DIR__ . '/../../../../vendor/ding/TopSdk.php');
include(__DIR__ . '/../../../../vendor/ding/dingtalk/DingTalkClient.php');
date_default_timezone_set('Asia/Shanghai');

/**
 * 默认控制器
 *
 * Class DefaultController
 * @package api\modules\v1\controllers
 * @property \yii\db\ActiveRecord $modelClass
 * @author jianyan74 <751393839@qq.com>
 */
class DefaultController extends OnAuthController
{
    public $modelClass = '';

    /**
     * 不用进行登录验证的方法
     * 例如： ['index', 'update', 'create', 'view', 'delete']
     * 默认全部需要验证
     *
     * @var array
     */
    protected $authOptional = ['index','search'];

    /**
     * 批量进行日报数据添加
     */

}
